package com.hanhai.material.device.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *  实体类。
 *
 * @author youchuang
 * @since 2024/01/08 22:31:53
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "sys_weight_plc",dataSource = "device")
public class SysWeightPlc implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Integer id;

    private String name;

    @Id
    private Integer deviceId;

}
